<div class="box">

  <div class="box-header">

    <div class="row">

        <div class="col-sm-7">
            <div class="box-tools search-form pull-right">
                <div class="input-group input-group-sm">
                    <input type="text" name="search_data" style="width: 200px;" class="form-control pull-right" value="{:input('search_data')}" placeholder="支持关键字|用户名|姓名">
                    <div class="input-group-btn">
                      <button type="button" id="search"  url="{:url('report_list')}" class="btn btn-info btn-flat"><i class="fa fa-search"></i></button>
                    </div>
                </div>
           </div>
        </div>
    </div>

  </div>


  <div class="box-body table-responsive">
    <table  class="table table-bordered table-hover">
      <thead>
      <tr>
          <th>用户名</th>
          <th>举报职位</th>
          <th>举报简历</th>
		  <th>举报内容</th>
		  <th>图列</th>
          <th>发表时间</th>
          <th>删除</th>
      </tr>
      </thead>
      {notempty name='list'}
        <tbody>
            {volist name='list' id='vo'}
                <tr>
                  <td>{$vo.username}<br/>{$vo.name}</td>
                  <td><a href="{:url('user/resumeinfo',array('resume_id'=>$vo['resume_id']))}">{$vo.resume|default=''}</a></td>
                  <td><a href="{:url('position/workinfo',array('id'=>$vo['work_id']))}">{$vo.work|default=''}</a></td>
                  <td>{$vo.cont}</td>
				  <td>
					{volist name='vo.imgs' id='v'}
						<a Onclick="imgck('{$v}')"  target="_blank" data-lightbox="gallery" data-title="{$v}" > <img src="{$v}"  width="40"/></a>
					{/volist}
				  </td>
                  <td>{$vo.create_time}</td>
                  <td>
                     <ob_link><a class="btn confirm ajax-get" href="{:url('user/delreport', array('id' => $vo['id']))}"><i class="fa fa-trash-o"></i> 删 除</a></ob_link>
                  </td>
                </tr>
            {/volist}
        </tbody>
        {else/}
        <tbody><tr class="odd"><td colspan="8" class="text-center" valign="top">{:config('empty_list_describe')}</td></tr></tbody>
      {/notempty}
    </table>
  </div>

  <div class="box-footer clearfix text-center">
      {$list->render()}
  </div>

</div>
<script>
    function chakan(id,str){
        layer.tips(str, '.tmd'+id);
    }
</script>